package com.liuheng.manager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public  interface SysRoleMenuMapper{
    public abstract List<Long> findSysRoleMenuByRoleId(Long roleId);

    void deleteByRoleId(Long roleId);

    void save(List<Map<String, Number>> menuIdList, Long roleId);

    void updateIsHalf(Long parentId);
}
